import './App.css'
import { Routes, Route, Navigate } from 'react-router-dom'
import AppLayout from './layout/Layout'
import Task1 from './pages/day1/task1'
import Task2 from './pages/day1/task2'
import Task3 from './pages/day1/task3'
import Day2Task2 from './pages/day2/task2'

function App() {
  return (
    <AppLayout>
      <Routes>
        <Route path="/" element={<Navigate to="/day1/task1" replace />} />
        <Route path="/day1/task1" element={<Task1 />} />
        <Route path="/day1/task2" element={<Task2 />} />
        <Route path="/day1/task3" element={<Task3 />} />
        <Route path="/day2/task2" element={<Day2Task2 />} />
      </Routes>
    </AppLayout>
  )
}

export default App
